#ifndef _CLICKED_BLOCKS_H_
#define _CLICKED_BLOCKS_H_

#include "cocos2d.h"



class clickedBlocks:public cocos2d::Sprite
{
public:
	clickedBlocks();

	~clickedBlocks();
public:
	virtual bool init(cocos2d::Color3B,cocos2d::Size);

	//CREATE_FUNC(clickedBlocks);

	static clickedBlocks* createWithArgs(cocos2d::Color3B,cocos2d::Size);

	static cocos2d::Vector<clickedBlocks*> *blocks;

	static cocos2d::Vector<clickedBlocks*>* getBlockes();

	void setLineIndex(int index);

	int  getLineIndex();

	cocos2d::Color3B getColor3B();

	void moveDown();

	void eraseObj();

	void setText(std::string);

private:
	int lineIndex;

	cocos2d::Color3B color;
};
#endif//_CLICKED_BLOCKS_H_



